PluginArtifactRepository

abstract class PluginArtifactRepository @Inject constructor(objects: ObjectFactory, instantiator: Instantiator, name: String, url: URI, allowInsecureProtocol: Boolean = true) : ArtifactRepository, UrlArtifactRepository, AuthenticationSupported

Constructors

Link copied to clipboard
@Inject
constructor(objects: ObjectFactory, instantiator: Instantiator, name: String, url: URI, allowInsecureProtocol: Boolean = true)

Functions

Link copied to clipboard
abstract fun authentication(action: Action<in AuthenticationContainer>)
Link copied to clipboard
abstract fun content(configureAction: Action<in RepositoryContentDescriptor>)
Link copied to clipboard
abstract fun credentials(credentialsType: Class<out Credentials>)
abstract fun credentials(action: Action<in PasswordCredentials>)
open override fun <T : Credentials?> credentials(credentialsType: Class<T>, action: Action<in T>)
Link copied to clipboard
inline fun <T : Credentials?> PluginArtifactRepository.credentials(action: Action<in T>)
Link copied to clipboard
abstract fun getAuthentication(): AuthenticationContainer
Link copied to clipboard
abstract fun getCredentials(): PasswordCredentials
open override fun <T : Credentials> getCredentials(credentialsType: Class<T>): T
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getUrl(): URI
Link copied to clipboard
open override fun isAllowInsecureProtocol(): Boolean
Link copied to clipboard
abstract fun setAllowInsecureProtocol(allowInsecureProtocol: Boolean)
Link copied to clipboard
abstract fun setName(name: String)
Link copied to clipboard
abstract fun setUrl(url: URI)
abstract fun setUrl(url: Any)